package com.dcits.exception;

/**
 * <p>Title: ErrorCode</p>
 * <p>Description: 错误码包装类</p>
 *
 * @author kui.liu
 */
public class ErrorCode {

    private String code;

    /**
     * Instantiates a new Error code.
     *
     * @param code the error code
     */
    public ErrorCode(String code) {
        this.code = code;
    }

    /**
     * Gets error code.
     *
     * @return the error code
     */
    public String getErrorCode() {
        return code;
    }

    /**
     * Sets error code.
     *
     * @param code the error code
     */
    public void setErrorCode(String code) {
        this.code = code;
    }
}
